//package fei.zhou.rabbitmq01.business.config;
//
//import org.springframework.amqp.rabbit.annotation.RabbitHandler;
//import org.springframework.amqp.rabbit.annotation.RabbitListener;
//import org.springframework.stereotype.Component;
//
//import java.util.Map;
//
///**
// * 描述该类
// *
// * @author <a href="920786312@qq.com">周飞</a>
// * @class: DirectReceiver
// * @date 2021/9/7  19:38
// * @Verson 1.0 -2021/9/7  19:38
// * @see
// */
//@Component
//@RabbitListener(queues = "TestDirectQueue")//监听的队列名称 TestDirectQueue
//public class DirectReceiver {
//
//    @RabbitHandler
//    public void process(Map testMessage) {
//        System.out.println("DirectReceiver消费者收到消息  : " + testMessage.toString());
//    }
//
//}